package com.szrt.java.day20161222.wu.t02;

public class Equipment2 {
	public static void main(String[] args) {
		int eid = 1;	//资产编码
		String ename = "联想笔记本电脑";		//名称
		float evalue = 3650.0f;			//价格
		String emodel = "天翼S002";		//型号
		
		System.out.println("购买了7台电脑，且以85折购买，请输出电脑信息，与总金额");
		float sum = evalue * 7 * 0.85f;
		System.out.println("你购买的电脑的信息为：");
		System.out.println("资产名称："+ename);
		System.out.println("单价为："+evalue);
		System.out.println("型号为："+emodel);
		System.out.println("购买总金额为："+sum);
	}
}
